package zuoye05;

public class zuoye04 {
    public static void main(String[] args) {
        String s = "YUANzhi1987";
        String s1="";
        for (char c : s.toCharArray()) {
            if (c >= 'A' && c <= 'Z') {
                s1+=(char)(c+33);
            } else if (c >= 'a' && c <= 'z') {
                if(c>='a'&&c<='c')
                {
                    s1+=2;
                }
                if(c>'c'&&c<='f')
                {
                    s1+=3;
                }
                if(c>'f'&&c<='i')
                {
                    s1+=4;
                }
                if(c>='j'&&c<='l')
                {
                    s1+=5;
                }
                if(c>='m'&&c<='o')
                {
                    s1+=6;
                }
                if(c>='p'&&c<='s')
                {
                    s1+=7;
                }
                if(c>='t'&&c<='y')
                {
                    s1+=8;
                }
                if (c>='w'&&c<='z')
                {
                    s1+=9;
                }
            }
            else
            {
                s1+=c;
            }
        }System.out.println(s1);
    }
}